"""
多级继承：
类A继承类B，类B继承类C

类A简介继承了类C

"""
class C:
    def __eat(self):
        print("吃饭")
class B(C):
    def sleep(self):
        print("睡觉")
class A(B):
    pass
a1=A()
a1.sleep()